Total Complexity | 28 |
Dependencies | 3 |
Dependents | 8 |
Total lines | 133 |
Lines of code | 104 |
Logical lines of code | 49 |
Comment lines | 4 |
Methods | 14 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
check_token() | 57 | 7 | 15 | |
redirect_after_purchase() | 61 | 4 | 13 | |
bitpay_mini_checkout() | 54 | 2 | 26 | |
get_bitpay_token() | 63 | 3 | 11 | |
bitpay_checkout_replace_order_button_html() | 73 | 2 | 6 | |
get_custom_redirect_page() | 69 | 2 | 7 | |
wc_bitpay_checkout_add_to_gateways() | 76 | 1 | 4 | |
get_bitpay_environment() | 80 | 1 | 3 | |
get_close_url() | 79 | 1 | 3 | |
should_capture_email() | 79 | 1 | 3 | |
get_payment_logo_url() | 74 | 1 | 4 | |
get_bitpay_gateway_setting() | 79 | 1 | 3 | |
get_bitpay_gateway_settings() | 80 | 1 | 3 | |
get_bitpay_checkout_endpoint() | 79 | 1 | 3 |